<link rel="stylesheet" type="text/css" href="../js/plugins/fileinput/css/jquery.filer.css" media="screen, projection">
<!--右边栏 Start-->
<div class="container-fluid" id="channelBody">
	<div class="row-fluid">
		<div class="span12">
			<div class="page-header fm-hd">
				<h4><span style="font-size:12px;">当前位置：交易管理&nbsp;&gt;&nbsp;</span>渠道管理</h4>
			</div>
			<!-- 查询模块 Start -->
			<div class="fm-query">
				<div class="frmbox">
					<form id="serchForm" id="serchForm" name="serchForm">
						<div class="querybox">
							<div class="form-group">
								<label class="control-label">渠道名：</label>
								<div class="control-con">
									<input type="text" class="form-control" id="channel_name" name="channel_name" maxlength="30"/>
								</div>
							</div>
							<div class="form-group">
								<label class="control-label">状态：</label>
								<div class="control-con">
									<select class="form-control" id="status" name="status">
										<option value>全部</option>
										<option value="1">使用中</option>
										<option value="2">停用中</option>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="control-label">渠道ID：</label>
								<div class="control-con">
									<input type="text" class="form-control" id="channelid" name="channelid" maxlength="18" datatype="/(^\s*$)|(^([0-9]{18})$)/"  errormsg="必须是18位数字" />
								</div>
							</div>
<!-- 							<div class="form-group1" style="margin:0;">
								<label class="control-label">总订单数：</label>
								<div class="control-con1">
									<input type="text" class="form-control w130" id="ordercount" name="ordercount"/>
								</div>
							</div>
							<div class="form-group1" style="margin:0;">
								<label class="control-label">总金额：</label>
								<div class="control-con1">
									<input type="text" class="form-control w130" id="ordersum" name="ordersum"/>
								</div>
							</div> -->
							<div class="clearit"></div>
						</div>
						<div class="querybtn">
							<button class="btn btn-primary serchBtn" type="button">搜索</button>
							<button class="btn btn-default resetBtn" type="button">重置</button>
						</div>
					</form>
				</div>
			</div>
			<!-- 查询模块 End -->
			<!-- 渠道列表 Start -->
			<div class="order-list channel_list">
				<h4>
					<button class="btn btn-primary" id="addChannel">
						新增渠道
					</button>
					<div class="marginL8">
						<button type="button" class="btn btn-info" disabled="disabled">Info</button>
					</div>
					
				</h4>
				<div class="dddbox">
					<table class="table table-striped ddd-table" id="account_tpl1">
						<thead>
							<tr>
								<th>渠道ID</th>
								<th>渠道名</th>
								<th>总订单数</th>
								<th>总金额</th>
								<th>状态</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
							<col width="20%"></col>
							<col width="17%"></col>
							<col width="13%"></col>
							<col width="15%"></col>
							<col width="15%"></col>
							<col width="20%"></col>
						</tbody>
					</table>
				</div>
				<!-- 渠道列表 End -->
				<!-- 分页 Start -->
				<div class="pagebox" id="pageBox" style="display: none">
					<div class="numbox">共<span class="blue3" id="records">8</span>条记录</div>
					<ul class="pagination fm_pageination" id="page">
						<li>
							<a href="#">上一页</a>
						</li>
						<li class="active">
							<a href="#">1</a>
						</li>
						<li>
							<a href="#">2</a>
						</li>
						<li>
							<a href="#">3</a>
						</li>
						<li>
							<a href="#">4</a>
						</li>
						<li>
							<a href="#">5</a>
						</li>
						<li>
							<a href="#">下一页</a>
						</li>
					</ul>
				</div>
				<!-- 分页 End -->
			</div>
		</div>
	</div>
	<!--右边栏 End-->

	<!-- 消息提示框  -->
	<div class="mes-container" id="msg_dialog">
	</div>
	

	<!-- 添加编辑渠道模态框（Modal） -->
	<div class="modal fade" id="editChannel" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
		<div class="modal-dialog">
			<!-- /.modal -->
		</div>
	</div>
	<!--查看二维码-->
	<div class="modal fade" id="view2code" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-body">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
					<h4 class="modal-title" id="myModalLabel">查看二维码</h4>
				</div>
				<div class="modal-body">
					<div class="modal-body popfrm1">
							<div class="form-group">
								<div class="imgCenter" id="outcode">
									<img src="../images/u167.png" alt="" />
								</div>
							</div>
							<div id="outcodehide" style="display: none;"></div>
							<div class="form-group" >
								<span class="imgCenter" id="codeurl"></span>
							</div>
					</div>
				</div>
				<div class="modal-footer">
						<button type="button" class="btn btn-primary">保存二维码</button>
					</div>
				<!-- /.modal-content -->
			</div>
			<!-- /.modal -->
		</div>
	</div>